#ifndef _USERINFORMATION_H
#define _USERINFORMATION_H

/**********************************
  Revision : Taek han, Go(FreeMan)
  Revision Date : 2007/01/26
***********************************/
#include "BookMarkList.h"

class UserInformation
{
public:

	UserInformation();
	UserInformation( string emailAddress, string macAddres, string password, string name, BookMarkList* bookMarkList );
	virtual ~UserInformation();
	
	UserInformation(const UserInformation& source);
	UserInformation& operator = (const UserInformation& source);

	string& GetEmailAddress() const;
	string& GetmacAddress() const;
	string& GetPassword() const;
	string& GetName() const;
	BookMarkList* GetBookMarkList();

private:
	string emailAddress;
	string password;
	string macAddress;
	string name;
	
	BookMarkList* bookMarkList;

	   
};

inline BookMarkList* UserInformation::GetBookMarkList()
{
	return (this->bookMarkList);
}

inline string& UserInformation::GetEmailAddress() const
{
	return const_cast<string&>(this->emailAddress);
}

inline string& UserInformation::GetmacAddress() const
{
	return const_cast<string&>(this->macAddress);
}

inline string& UserInformation::GetPassword() const
{
	return const_cast<string&>(this->password);
}

inline string& UserInformation::GetName() const
{
	return const_cast<string&>(this->name);
}

#endif
